package cn.itsource.pethome.base.service;

import cn.itsource.pethome.base.query.BaseQuery;
import cn.itsource.pethome.util.PageList;

import java.util.List;
public interface IBaseService<T> {
    List<T> queryAll();

    T queryOne(Long id);

    PageList<T> pageQueryAll(BaseQuery query);


    void insert(T t);

    void update(T t);

    void delete(Long id);

}
